package day1212;

public class File13 {
    public static void main(String[] args) {
        for (int i = 100; i <= 999; i++) {
            int g = i / 1 % 10;
            int b = i / 10 % 10;
            int s = i / 100 % 10;
            System.out.println((g * g * g + b * b * b + s * s * s == i) ? i + "是水仙花数" : "否");
        }
    }
}
